﻿@{
    ViewBag.Title = "Khách hàng tham gia nhiều tour nhất";
}
@using KimPhongCRM.Models
@model List<sp_ThongKe_TopKHTour_Result>
<div class="box span4 noMargin" ontablet="span12" ondesktop="span4">
    <div class="box-header">
        <h2><i class="icon-check"></i><span class="break"></span>Top khách hàng tham gia tour</h2>
        <div class="box-icon">
            <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
        </div>
    </div>
    <div class="box-content">
        <div class="todo">
            <ul class="todo-list">
                @foreach (var value in Model)
                {
                    string url = Url.Action("SetPopup", "Popup", new { id = value.maKH, table = "KhachHang" });
                    <li>@value.tenKH <span class="label label-important">@value.sl</span>
                        <span class="todo-actions">
                            <a href="@url" id="id-viewdetail"><i class="icon-eye-open"></i></a>
                        </span>
                    </li>
                }
            </ul>
        </div>
    </div>
</div>
